package com.joolun.mall.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.joolun.common.annotation.Excel;
import lombok.Data;
import org.springframework.transaction.annotation.Transactional;

import java.util.Date;

/**
 * 接龙计划预留名单对象 chain_plan_reserve_order
 * 
 * @author www.joolun.com
 * @date 2025-08-04
 */
@Data
public class ChainPlanReserveOrder extends Model<ChainPlanReserveOrder>
{
    private static final long serialVersionUID = 1L;


    /** 主键id */
    private Long id;

    /** 计划id */
//    @Excel(name = "计划id")
    private Long planId;

    /** 品牌id */
//    @Excel(name = "品牌id")
    private Integer brandId;

    /** 淘宝id */
    @Excel(name = "淘宝账号(旺旺id)")
    private String tbUserId;

    /** 旺店通加密id */
    @Excel(name = "旺店通加密ID")
    private String wdtEncodeUserId;

    @Excel(name = "是否超限" , readConverterExp = "0=否,1=是" )
    private Integer isExceed;

    /** sku编码 */
    @Excel(name = "商家编码")
    private String skuCode;

    /** 链接名-商品名 */
    @Excel(name = "产品名称")
    private String spuName;

    /** 规格 尺码加颜色 */
    @Excel(name = "规格")
    private String specification;

    /** 数量 */
    @Excel(name = "数量")
    private Long count;

    private String vipType;

    /** 数量 */
    @Excel(name = "发货VIP等级")
    private String vipTypeValue;

    /** 状态（0正常 1停用） */
//    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 备注 */
    private String remark;

    @TableField(exist = false)
    private boolean isImport = false;

}
